package org.web.clientlistmanager.client.domain;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class AccessServerDTO {


    private String ip;

    private int port;

    /**
     * 在解析的时候，设置IP的格式。
     * @see   org.web.clientlistmanager.sdk.dto.ClientListManagerConstant.ACCESS_SERVER_WAY 取值范围
     * */
    private String ipType;

    public AccessServerDTO() {
        super();
    }

    @Override
    public String toString() {
        return ip + ":" + port;
    }
}
